Page({
  data: {
    projectList:[]
  },

  onLoad(e) {
    let project=JSON.parse(e.project)
    console.log(project)
    this.setData({
      projectList:project
    })
  },
  goProjectDetail(e){
    console.log(e.currentTarget.dataset.id)
    wx.navigateTo({
      url: '../teamProjectDetail/teamProjectDetail?id=' + e.currentTarget.dataset.id, //跟wxml里的data-id联动
    })
  }
})